using System;
using System.Collections.Generic;
using System.Linq;
namespace TemplateWeb.Controllers
{
	#region using
	using TemplateWeb.Helpers;
	#endregion
	public enum EnumViewModel
	{
		ADMIN_DETAILOF_HOPTHU,
		ADMIN_DETAILOF_PHANHOI,
		ADMIN_DETAILOF_HUONGDAN,
		ADMIN_DETAILOF_PHIENDAUGIA,
		ADMIN_DETAILOF_NGUOIDUNG,
        ADMIN_DETAILOF_SANPHAM,
		ADMIN_HINHTHUCDAUGIA,
		ADMIN_HOPTHU,
		ADMIN_PHANHOI,
		ADMIN_HUONGDAN,
		ADMIN_PHIENDAUGIA,
        ADMIN_CREATEPHIENDAUGIA,
        ADMIN_CREATEPHIENDAUGIA_SUCCESSFUL,
		ADMIN_NGUOIDUNG,
		ADMIN_DANHMUCCHINH,
		ADMIN_NGUOICHOIDAUGIA,
		ADMIN_DANHMUCCON,
        ADMIN_TOCHUCCANHAN,
        ADMIN_SANPHAM,
		HOME_REGISTER,
        HOME_DETAILOF_NGUOIDUNG,
        HOME_INDEX,
        HOME_HUONGDAN,
        HOME_TIMKIEM,
        HOME_TIMKIEM_SUBMITTED,
        HOME_CACHANGMUC,
        HOME_XEMCACPHIEN,
        HOME_XEMTATCACACPHIEN,
        HOME_XEMPHIENDATAO,
        HOME_DAUGIACUATOI,
        HOME_CACPHIENTHANGCUOC,
        HOME_CACPHIENCUNGNGUOIDANG,
        HOME_CACPHIENTHANHCONG,
        HOME_XEMCHITIETPHIEN,
        HOME_XEMCACPHIENTHEOHANGMUC,
        HOME_TAOPHIENMOI,
        HOME_TAOPHIENMOI_SUBMITTED,
        HOME_DATCHODAUGIA
	}

	public class DataTransferViewModel
	{
		public int CurrentPage { get; set; }
		public EnumViewModel EnumViewModelType { get; set; }
		public string StrID { get; set; }
		public int IntID { get; set; }
		public Guid GuidID { get; set; }
		public string UserName { get; set; }
		public string Role { get; set; }
		public string InfoText { get; set; }
		public int IDHopThu { get; set; }
		public int IDHinhThucDauGia { get; set; }
		public int IDDanhMucCon { get; set; }
		public Guid IDNguoiDang { get; set; }
		public Guid ID { get; set; }
		public Guid IDNguoiDung { get; set; }
		public int IDPhienDauGia { get; set; }
		public int IDDanhMucChinh { get; set; }
        public int IDToChucCaNhan { get; set; }
        public int IDSanPham { get; set; }

        public string TimKiem_TieuDe { get; set; }
        public bool TimKiem_TimTrongMoTa { get; set; }
        public string TimKiem_ThucMuc { get; set; }
        public string TimKiem_NguoiBan { get; set; }
        public string TimKiem_BatDauSauNgay { get; set; }
        public string TimKiem_KetThucTruocNgay { get; set; }

		public DataTransferViewModel()
		{
			CurrentPage = 1;
			IDHopThu = -1;
			IDHinhThucDauGia = -1;
			IDDanhMucCon = -1;
			IDNguoiDang = Guid.Parse("11112222-1111-1111-1111-111122223333");
			ID = Guid.Parse("11112222-1111-1111-1111-111122223333");
			IDNguoiDung = Guid.Parse("11112222-1111-1111-1111-111122223333");
			IDPhienDauGia = -1;
			IDDanhMucChinh = -1;
            IDToChucCaNhan = -1;
            IDSanPham = -1;

            TimKiem_TieuDe = string.Empty;
            TimKiem_TimTrongMoTa = false;
            TimKiem_ThucMuc = string.Empty;
            TimKiem_NguoiBan = string.Empty;
            TimKiem_BatDauSauNgay = string.Empty;
            TimKiem_KetThucTruocNgay = string.Empty;
		}
	}
}